//
//  FreebaseDetail.h
//  BandApp
//
//  Created by Alec Flett on 8/20/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Freebase.h"
#import "FreebaseDelegate.h"

@interface FreebaseDetail : UIViewController <FreebaseDelegate> {
    FreebaseSession* fbs;
    UIImageView *imageView;
    UILabel *nameLabel;
    UILabel *aliasLabel;
    UILabel *articleLabel;
    UILabel *_typeLabel;
    
}

- (void)loadItemDetail: (NSDictionary *)itemData;
- (void)loadBlurb:(NSDictionary*) blurb_data;
- (void)loadImage:(NSDictionary*) image_data;
- (void)loadData:(NSString*)item_id;

- (void)setTypeList:(NSArray*)typeList;

// callbacks
- (void)blurbLoaded:(NSString*)blurbString;
- (void)imageLoaded:(NSData *)imageData;


@property(nonatomic, retain) IBOutlet FreebaseSession* fbs;
@property(nonatomic, retain) IBOutlet UIImageView *imageView;
@property(nonatomic, retain) IBOutlet UILabel *nameLabel;
@property(nonatomic, retain) IBOutlet UILabel *aliasLabel;
@property(nonatomic, retain) IBOutlet UILabel *articleLabel;
@property(nonatomic, retain) IBOutlet UILabel *typeLabel;
@end
